﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="leave_record.aspx.cs" Inherits="leave_record" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="main">
<asp:UpdatePanel ID="UpdateTable" runat="server">
    <ContentTemplate>
<div class="filter">
    <table style="width: 100%;">
        <tr>
            <td>
               Emp Code
            </td>
            <td>
                <asp:TextBox ID="txtEmpCode" runat="server" Width="150px" CssClass="txt"></asp:TextBox>
            </td>
            <td>
               From Date
            </td>
             <td>
                 <asp:TextBox ID="txtFromDate" runat="server" Width="150px" CssClass="txt"></asp:TextBox>
            </td>
            <td>
               Department</td>
            <td>
                <asp:DropDownList ID="ddlDepartment" runat="server" Width="158px" 
                    AutoPostBack="True" DataTextField="DeptName" DataValueField="DeptCode" 
                    onselectedindexchanged="ddlDepartment_SelectedIndexChanged" CssClass="txt">
                </asp:DropDownList>
            </td>
        </tr>
       <tr>
            <td>
                FirstName
               
            </td>
            <td><asp:TextBox ID="txtFirstName" runat="server" Width="150px" CssClass="txt"></asp:TextBox>
                
            </td>
            <td>
               To Date
            </td>
             <td>
                <asp:TextBox ID="txtToDate" runat="server" Width="150px" CssClass="txt"></asp:TextBox>
            </td>
            <td>
               &nbsp;Section
            </td>
            <td>
                <asp:DropDownList ID="ddlSection" runat="server" Width="158px" 
                    DataTextField="SectionName" DataValueField="SectionCode" CssClass="txt">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
               LastName
            </td>
            <td>
                 <asp:TextBox ID="txtLastName" runat="server" Width="150px" CssClass="txt"></asp:TextBox>
            </td>
            <td>
              Leave Type
            </td>
             <td>
                  <asp:DropDownList ID="ddlLeaveType" runat="server" Width="158px" CssClass="txt">
                </asp:DropDownList>
            </td>
            <td>
               
            </td>
            <td>
                <asp:CheckBox ID="chkAll" runat="server" /> All Daily
            </td>
        </tr>
    </table>
</div>
<div class="submit">
    <input id="btnClear" type="submit" value="Clear" class="btngray"/>
    <asp:Button ID="btnFilter" runat="server" Text="Filter" CssClass="btnOrage"/>
</div>
<div class="list">
 <div class="scroll_ngang">
       <div class="title_table" style="width:2400px;">
            <table>
                <tr>
                    <td style="width:200px;">Emp Code</td>
                    <td style="width:200px;">First Name</td>
                    <td style="width:200px;">Last Name</td>
                    <td style="width:200px;">Birth Day</td>
                    <td style="width:200px;">Email</td>
                    <td style="width:200px;">Join Date</td>
                    <td style="width:200px;">Benefit Start Date</td>
                    <td style="width:200px;">Dept Name</td>
                    <td style="width:200px;">Section Name</td>
                    <td style="width:200px;">Work Place Name</td>
                    <td style="width:200px;">Time Card No</td>
                </tr>
            </table>
       </div><!-- title -->
   </div><!-- ngang -->
   <div class="foot_table">
   
   </div>
</div>
</ContentTemplate>
</asp:UpdatePanel>
     <asp:UpdateProgress ID="UpadateProc" AssociatedUpdatePanelID="UpdateTable" runat="server">
     <ProgressTemplate>
             <div class="loading">

                 <img src="resources/images/process_small2.gif" alt=""/>
            </div>
    </ProgressTemplate>
</asp:UpdateProgress>
</div>
</asp:Content>


